package monster.com.cvh.bean;

/**
 * @author: pengguanming
 * @data: 2018/5/2
 * @function:检查更新Bean
 */
public class UpdateBean {

    /**
     * code : 1
     * data : {"constraint":false,"version_code":2}
     * msg : ok
     */

    private int code;
    private DataBean data;
    private String msg;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public static class DataBean {
        /**
         * constraint : false
         * version_code : 2
         */

        private boolean constraint;
        private int version_code;

        public boolean isConstraint() {
            return constraint;
        }

        public void setConstraint(boolean constraint) {
            this.constraint = constraint;
        }

        public int getVersion_code() {
            return version_code;
        }

        public void setVersion_code(int version_code) {
            this.version_code = version_code;
        }
    }
}
